home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Help / locale / help / english / sys / clock.doc < prev    next >
Encoding:
Text File  |  2000-10-06  |  2.2 KB  |  84 lines

  1. Clock
  2.  
  3. Provides an on-screen clock.
  4.  
  5. Format
  6.  
  7. CLOCK [DIGITAL] [<LEFT>] [<TOP>] [<WIDTH>] [<HEIGHT>] [24HOUR] [SECONDS]
  8. [DATE] [<FORMAT><n>] [PUBSCREEN <public screen name>]
  9.  
  10. Template
  11.  
  12. DIGITAL/S,LEFT/N,TOP/N,WIDTH/N,HEIGHT/N,24HOUR/S,SECONDS/S,DATE/S,FORMAT/N,PU
  13. BSCREEN/K
  14.  
  15. Location
  16.  
  17. SYS:Utilities
  18.  
  19. The DIGITAL option opens a digital clock. A resizable analog clock is the
  20. default.
  21.  
  22. The LEFT, TOP, WIDTH, and HEIGHT options allow you to specify the size and
  23. position of the clock. The keywords are optional; if not given, the numerical
  24. arguments are interpreted by their position as follows:
  25.  
  26. 1st number
  27.  
  28. The clock opens <n> pixels from the left edge of the screen.
  29.  
  30. 2nd number
  31.  
  32. The clock opens <n> pixels from the top of the screen.
  33.  
  34. 3rd number
  35.  
  36. The analog clock is <n> pixels wide.
  37.  
  38. 4th number
  39.  
  40. The analog clock is <n> pixels high.
  41.  
  42. For example, to specify only the width and height of the Clock, use the WIDTH
  43. and HEIGHT keywords. When entering only two numbers, the clock interprets
  44. them as the LEFT and TOP positions. WIDTH and HEIGHT are not available if you
  45. use the DIGITAL option.
  46.  
  47. The 24HOUR option displays the time in 24 hour mode, which is not available
  48. for the analog clock.
  49.  
  50. The SECONDS option displays a second hand on the analog clock and has no
  51. effect if DIGITAL is specified.
  52.  
  53. The DATE option displays the date.
  54.  
  55. The FORMAT option applies only to the digital clock. It takes a value from 0
  56. to 5, which determines which of the six digital formats is used. Formats 4
  57. and 5 vary, depending on your Locale Preferences Editor settings. To specify
  58. a digital format, either include the FORMAT keyword or use LEFT, TOP, WIDTH,
  59. and HEIGHT values; the WIDTH and HEIGHT values function as placeholders only
  60. and are ignored.
  61.  
  62. Example 1:
  63.  
  64. To open a clock that is 75 pixels from the left edge of the screen, 75 pixels
  65. from the top edge of the screen, 300 pixels wide and 100 pixels high, enter:
  66.  
  67. 1> CLOCK 75 75 300 100
  68.  
  69. Example 2:
  70.  
  71. To use the SECONDS and DATE options, enter:
  72.  
  73. 1> CLOCK SECONDS DATE
  74.  
  75. Example 3:
  76.  
  77. To open a 24-hour digital clock with seconds that is 320 pixels from the left
  78. edge of the screen and in the screen's title bar (0 pixels from the top),
  79. enter:
  80.  
  81. 1> CLOCK DIGITAL 320 0 FORMAT 2
  82.  
  83. For more examples using Clock, see Chapter 8.
  84.